<html>
<head>
<title>{Aplicacion}</title>
<link href="adm_est.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body leftmargin="0" topmargin="0">
<table width="800" border="1" bordercolor="#{ColorCorp}" cellspacing="0" align="center">
  <tr valign="middle" bgcolor="#{ColorCorp}">
  	<td width="75" align="center">
		<input class="normal" type="button" name="cmdSalir" value="Panel" onClick="javascript:window.location='panel.php'"> 
	</td>
    <td class="titulo_mn" align="center">
		<b>AMBITOS</b>
	</td>
    <td width="180">
		<input class="normal_p" type="button" name="cmdAgregar" value="Agregar" onClick="javascript:window.location='{PaginaDestino}?cmd={ComandoAgregar}'"> 
		<input class="normal_p" type="button" name="cmdEliminarTodos" value="Eliminar Todos" onClick="javascript:window.location='{PaginaDestino}?cmd={ComandoEliminarTodos}'"> 
	</td>
  </tr>
</table>

<table width="800" border="1" bordercolor="#{ColorCorp2}" cellspacing="0" align="center">
  <tr bgcolor="#{ColorCorp2}" class="normal_p"> 
  	<td align="center" width="40">Orden</td>
	<td align="center" width="70">Operador</td>
    <td align="center" width="134">Ambitos Padre</td>
	<td align="center" width="134">Ambitos Hijo</td>
	<td align="center" width="100">Url</td>
	<td align="center" width="100">Css</td>
	<td align="center" width="50">Es Pub.</td>
	<td align="center" width="50">Estado</td>
	<td align="center" colspan="2">Comandos</td>
  </tr>
  <!-- BEGIN FILA -->
  <tr class="normal_p" bgcolor="#{ColorTipoF}" align="center"> 
  	<td>{OrdenF}</td>
	<td bgcolor="#{ColorCorporativoF}">{OperadorF}</td>
    <td align="{AlignPadreF}">{PadreF}</td>
	<td>{HijoF}</td>
	<td{FuenteUrlF}>{UrlF}</td>
	<td{FuenteCssF}>{CssF}</td>
	<td>{EsPublicoF}</td>
	<td bgcolor="#{ColorEstadoF}">{EstadoF}</td>
	<form method="post" action="{PaginaDestinoFila}">
    <td width="62" valign="top">
	  	<input type="hidden" name="cmd" value="{ComandoModificarFila}"> 
        <input type="hidden" name="id" value="{IdAmbito}"> 
		<input type="submit" name="Submit" value="Modificar" class="normal_p"> 
	</td>
	</form>
   	<form method="post" action="{PaginaDestinoFila}">
      <td width="60" valign="top"> 
	  	<input type="hidden" name="cmd" value="{ComandoEliminarFila}"> 
        <input type="hidden" name="id" value="{IdAmbito}">
		<input type="submit" name="Submit" value="Eliminar" class="normal_p"> 
      </td>
    </form>
   </tr>
  <!-- END FILA -->
 
  <tr bgcolor="#{ColorCorp2}" class="normal_p"> 
	<td colspan="10" align="center">{NumRegs} registros</td>
  </tr>
</table>
</body>
</html>